package com.fitns.user.model.organ;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class Organ {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("机构名称")
    private String name;

    @ApiModelProperty(" province:省 city:市 district:区 company:公司 area:区域 section:科室 group:分组")
    private String type;

    @ApiModelProperty("联系人")
    private String contactName;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("机构地址")
    private String address;

    @ApiModelProperty("父级id")
    private Long parentId;

    @ApiModelProperty("创建者")
    private Long createId;

    @ApiModelProperty("修改者")
    private Long modifyId;

    @ApiModelProperty("创建时间")
    private Timestamp inputTime;

    @ApiModelProperty("修改时间")
    private Timestamp modifyTime;

    @ApiModelProperty("描述")
    private String descs;

    @ApiModelProperty("层级")
    private int level;

    private Long companyId;

}
